package com.jinmdz.fmis.api.model.test;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author LiCongLu
 * @date 2020-01-10 09:08
 */
public class ValidateUser extends BaseBean {

    /**
     * 员工编号
     */
    @AnValidate(name = "员工编号")
    @ApiModelProperty(position = 1)
    private String jobNo;

    /**
     * 姓名
     */
    @AnValidate(name = "姓名")
    @ApiModelProperty(position = 2)
    private String fullName;

    /**
     * 性别外键
     */
    @ApiModelProperty(position = 3)
    private Integer userGenderId;

    /**
     * 联系电话
     */
    @AnValidate(name = "联系电话")
    @ApiModelProperty(position = 4)
    private String mobilePhone;

    /**
     * 其他电话
     */
    @ApiModelProperty(position = 5)
    private String otherPhone;

    /**
     * 联系地址
     */
    @ApiModelProperty(position = 6)
    private String address;

    /**
     * 所属公司外键
     */
    @ApiModelProperty(position = 7)
    private Integer companyId;

    /**
     * 所属部门外键
     */
    @ApiModelProperty(position = 8)
    private Integer departmentId;

    /**
     * 禁用状态
     */
    @ApiModelProperty(position = 9)
    private Integer disableState;

    public String getJobNo() {
        return jobNo;
    }

    public ValidateUser setJobNo(String jobNo) {
        this.jobNo = jobNo;
        return this;
    }

    public String getFullName() {
        return fullName;
    }

    public ValidateUser setFullName(String fullName) {
        this.fullName = fullName;
        return this;
    }

    public Integer getUserGenderId() {
        return userGenderId;
    }

    public ValidateUser setUserGenderId(Integer userGenderId) {
        this.userGenderId = userGenderId;
        return this;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public ValidateUser setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
        return this;
    }

    public String getOtherPhone() {
        return otherPhone;
    }

    public ValidateUser setOtherPhone(String otherPhone) {
        this.otherPhone = otherPhone;
        return this;
    }

    public String getAddress() {
        return address;
    }

    public ValidateUser setAddress(String address) {
        this.address = address;
        return this;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public ValidateUser setCompanyId(Integer companyId) {
        this.companyId = companyId;
        return this;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public ValidateUser setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public ValidateUser setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }
}
